package com.yao.dto;

import com.yao.po.Flowers;
import lombok.Data;

import java.util.List;

@Data
public class GoodsList {
    private Long total;
    private List<Flowers> records;

    public GoodsList() {
    }

    public GoodsList(Long total, List<Flowers> records) {
        this.total = total;
        this.records = records;
    }

    /**
     * 获取
     * @return total
     */
    public Long getTotal() {
        return total;
    }

    /**
     * 设置
     * @param total
     */
    public void setTotal(Long total) {
        this.total = total;
    }

    /**
     * 获取
     * @return records
     */
    public List<Flowers> getRecords() {
        return records;
    }

    /**
     * 设置
     * @param records
     */
    public void setRecords(List<Flowers> records) {
        this.records = records;
    }

    public String toString() {
        return "GoodsList{total = " + total + ", records = " + records + "}";
    }
}
